﻿using System;
using System.Collections.Generic;
using System.Text;

namespace LibraryONTrack.dao
{
	interface IBaseDAO<T>
	{
		List<T> GetAll();
		T GetById(long id);

		T Insert(T t);
		T Update(T t);
		void Delete(long id);
		void Delete(T t);
		void Truncate();		
	}
}
